﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PPI.Entities.Enumerator;
using PPI.Entities.Lookup;

namespace PPI.Entities.Settings.Mobile
{
    public class EMobileSettingsGPS : EMobileSettingsBase
    {

        private EUtility m_Utility;

        #region Properties

        public EUtility Utility
        {
            get { return m_Utility; }
            set { m_Utility = value; }
        }

        #endregion

        public EMobileSettingsGPS()
        :base(){
            m_Utility = new EUtility();

        }

        public EMobileSettingsGPS(EHandheld Handheld, EVendor Vendor, EVendor_Contact Contact, EVendor_Project Project, EUtility Utility, string mobileVersion)
            : base(Handheld, mobileVersion,Project,Contact,Vendor)
        {
            m_Utility = Utility;
            m_DatabaseType = DatabaseTypes.GPS;
        }

        public override void ConfigurateConfig()
        {
            SetDatabaseTypeName();
            m_ListMobileSettings.Add(m_DatabaseTypeName);
            m_ListMobileSettings.Add(m_Utility);
            
        }
    }
}
